const mutations = {
  getPosition (state, pos) {
    state.position = pos
  },
  getDirection (state, dir) {
    state.direction = dir
    // console.log(dir)
  }
}
export default mutations